package coml.jiyun.hp.designmode;


//1.饿汉式

public class SingleTon {

    private static SingleTon singleTon = new SingleTon();

    private SingleTon(){}

    public static SingleTon getInstance(){
        return singleTon;
    }
}
